const model = {
  key: "pdd",
  name: "拼多多API",
  group: ["shop"],

  libs: [
    {
      key: "pddSdk",
      name: "pddSdk",
      href: "https://github.com/DiscoverForever/pdd-sdk",
    },
  ],
  config: {
    clientId: {
      key: "clientId",
      value: "",
      description: "clientId",
      remark: "",
      required: true,
    },
    clientSecret: {
      key: "clientSecret",
      value: "",
      description: "clientSecret",
      remark: "",
      required: true,
    },
  },
  template: [
    {
      key: "base",
      name: "基础",
      input: {},
      output: {},
      url: "/api/libs/pdd/base.js",
    },
  ],
};

module.exports = model;
